<form action="" id="form_module_company" name="form_module_company" method="post" onsubmit="return submit_module();" class="zhezhao">
<input type="hidden" id="module_info" value="company">
	<div class="shopnc-module" style="width:760px;">
		<table style="border-left:#cad9eb 1px solid; border-top:#cad9eb 1px solid;" border="0" cellpadding="0" cellspacing="0" class="fct-1">
			<tr>
				<th style="width:750px; text-align:center;">客户名称：&nbsp;&nbsp;
					<input type="text" id="ajaxCompanyName" name="ajaxCompanyName" class="fct-input-2" />&nbsp;&nbsp;
					<input value="搜索" type="button" class="bthl" onclick="submit_search();" />
				</td>
			</tr>
			<tr>
				<td style="border:none; padding:0px;">
					<div id="search_list">
				
					</div>
				</td>
			</tr>
		</table>
	</div>
</form>
<script type="text/javascript">
function submit_search(){
	ShowDiv = 'search_list';
	var search_keyword = escape($("#ajaxCompanyName").val());
	$.ajax({
		url: "company.manage.php",
		data: "action=ajax_get_company&txtCompanyName="+search_keyword,
		type:'get',
		dataType:"html",
		success: function(msg){
			if(msg != ""){
				ShowDiv = 'search_list';
				$("#search_list").html(msg);
			}else{
				$("#search_list").html('暂时没有您要的信息！');
			}
		},
		error: function(){
			alert('查询错误！');
		}
	});
	return false;
}
submit_search();
</script>